package com.czy.project.demo.service.impl;

import com.czy.project.demo.service.DemoService;
import com.czy.project.springMVCframework.annotation.MyService;

@MyService
public class DemoServiceImpl implements DemoService {

    @Override
    public String query(String name) {
        return "query success ：My name is " + name ;
    }

    @Override
    public String add(String name) {
        return "添加成功：新增用户 " + name ;
    }

    @Override
    public String remove(String name) {
        return "删除成功：删除用户 " + name ;
    }
}
